<?php

	require_once(realpath(dirname(__FILE__)) . "/Baseobj.class.php");

	class Autorisation_modules extends Baseobj{

		var $id;
		var $administrateur;
		var $module;
		var $autorise;

		const TABLE="autorisation_modules";
		var $table=self::TABLE;


		var $bddvars = array("id", "administrateur", "module" ,"autorise");

		function __construct(){
			parent::__construct();
		}

		function charger($module, $administrateur){
			return $this->getVars("select * from $this->table where module=\"$module\" and administrateur=\"$administrateur\"");
		}
	}


?>